package com.sunyard.dal.bo.device.car;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author jiy.fang
 * @ClassName RoleAuditBO
 * @Description description
 * @date 2019/7/25 10:35
 */
@ApiModel
@Data
public class CarAuditBO implements Serializable {

    private static final long serialVersionUID = 8840491814849870979L;

    /**
     * 审核流水号
     */
    @ApiModelProperty(value = "审核id", required = true)
    @NotBlank(message = "审核id不能为空")
    private String id;

    /**
     * 审核状态：0 -未审核 1 -审核通过 2 -审核未通过
     */
    @ApiModelProperty(value = "审核状态：1 -审核通过 2 -审核未通过", required = true)
    @NotNull(message = "审核状态不能为空")
    private Integer auditFlag;

    /**
     * 审核理由：不超过255
     */
    @ApiModelProperty(value = "审核理由，不超过255位")
    @Size(max = 255)
    private String auditDesc;
}
